<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
    <title>意达设计</title>
    <link rel="stylesheet" type="text/css" href="../css/api.css"/>
    <link rel="stylesheet" type="text/css" href="../css/dealer.css"/>
</head>
<body class="body">

<!-- header -->
<div class="pageheader"><a href="javascript:void(0);" onclick="api.closeWin();" class="return"></a><span>我的业务员</span></div>

<!-- contact -->
<div class="pad">
	<div class="persli"><span>姓名</span><p id='name'></p></div>
	<div class="persli"><span>手机号码</span><p id='phone'></p></div>
	<div class="persli"><span>邮箱</span><p id='email'></p></div>
</div>



</body>
<script type="text/javascript" src="../script/api.js"></script>
<script type="text/javascript" src="../script/jquery-1.9.1.min.js"></script>
<script type="text/javascript" src="../script/adaptive.js"></script>
<script type="text/javascript" src="../script/tabs.js"></script>
<script type="text/javascript">
    window['adaptive'].desinWidth = 750;
    window['adaptive'].baseFont = 28;
    window['adaptive'].maxWidth = 750;
    window['adaptive'].init();

    apiready = function () {
        $api.fixStatusBar($api.dom('.header'));
        api.addEventListener({
            name: 'keyback'
        }, function(ret, err){
            api.closeWidget();
        });
        api.showProgress();

       

        

        toDoRequest();

        
        
        function toDoRequest(){

            var  p={token:token};

            api.ajax({
                url: webSiteUrl+'/app/user/mysaler',
                method: 'post',
                data: {
                    values:p,
                }
            }, function(ret, err) {
                api.hideProgress();
                
                if(ret.code==200){
                    
                    
                  
                    
                    var tj=ret.data;
                    $('#name').htme(tj.name);
                    $('#phone').htme(tj.phone);
                    $('#email').htme(tj.email);
             

                            
                }else{
                    alert(ret.msg)
                }

            });
        }

    


  };
</script>

</html>
